
<#assign $pageid>operatesDailiMana</#assign>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="viewport" content="width=1300px">
    <title></title>
<#include "/common/base__config.ftl">
    <#assign $pageid>operatesDailiMana</#assign>
    <#include "/__private_torrent__/common__base_css.ftl">
<#include "/__private_torrent__/common__xz_css.ftl">
<#include "/__private_torrent__/zhbManageSystem__common_css.ftl">
<#include "/__private_torrent__/zhbManageSystem__operatesDailiMana_css.ftl">
    <script src="/style/common/js/jquery.js"></script>
    <#include "/__private_torrent__/common__base_js.ftl">
<#include "/__private_torrent__/common__xz_js.ftl">
<#include "/__private_torrent__/zhbManageSystem__common_js.ftl">
<#include "/__private_torrent__/zhbManageSystem__operatesDailiMana_js.ftl">
</head>
<body>
<div class="wrapper">
    <div class="sideBarBox">
    </div>
    <div class="contentBox">
<div class="main">
    <h3 class="pageTitle fs16">代理管理<span class="fcF40 titleTip">全部/启用/停用</span><a href="operatesAddDaili.htm" target="_blank" class="fr">新增代理</a></h3>
    <div class="searchBox">
        <ul>
            <li><label>账号</label><input type="text" name="userId" placeholder="请输入账号" <#if query.userId??>value="${query.userId!}"</#if>></li>
            <li><label>代理名称</label><input type="text" name="userName" placeholder="请输入账号" <#if query.userName??>value="${query.userName!}"</#if>></li>
            <li>
                <label>代理状态</label>
                <select name="userState" <#if query.userState??>value="${query.userState!}"</#if>>
                    <option value="">请选择代理状态</option>
                    <option value="1" <#if query.userState == 1>selected</#if>>启用</option>
                    <option value="2" <#if query.userState == 2>selected</#if>>停用</optio>
                </select>
            </li>
            <li>
                <b jbtn="searchBtn">搜索</b>
            </li>
        </ul>
    </div>
    <div class="userInfo">
        <div class="listHead">
            <ul>
                <li class="userId">代理账号</li>
                <li class="userName">代理名称</li>
                <li class="userState">账号状态</li>
                <li class="userRate">通道费率</li>
                <li class="openUserNum">开通商户数量</li>
                <li class="createTime">创建时间</li>
                <li class="userOpe">操作</li>
            </ul>
        </div>
        <div class="userList">
            <#list content as item>
            <div class="userItem">
                <ul>
                    <li class="userId">${item.id!}</li>
                    <li class="userName">${item.userName!}</li>
                    <li class="userState">
                        <#if item.userState == 1>
                        启用
                        <#elseif item.userState == 2>
                        停用
                        </#if>
                    </li>
                    <li class="userRate">${item.rate!}</li>
                    <li class="openUserNum">${item.openUserNum!}</li>
                    <li class="createTime">${item.createTime!}</li>
                    <li class="userOpe">
                        <a href="operatesDailiDetail.htm?userId=${item.userId!}" target="_blank">代理详情</a>
                    </li>
                </ul>
            </div>
            </#list>
        </div>
<#assign text>{}</#assign>
<#assign moduleJsonStr=text?eval />
<#list [moduleJsonStr] as $it>
<#if $it.fields??>
<form id="wgt_search">
    <#list $it.fields as field>
    <input type=hidden name="${field.name!}" value="${field.value!}">
    </#list>
</form>
</#if>
</#list>
<#assign text>{}</#assign>
<#assign moduleJsonStr=text?eval />
<#list [moduleJsonStr] as $it>
<div class="jqPagination " id="jqPagination0"
    <#if $it.pageOption??>
        data-option="${$it.pageOption!}"
    <#else>
        data-option="${pageOption!}"
    </#if>
></div>
</#list>
    </div>
</div>
<#assign text>{"fields":[{"name":"userId","value":""+query.userId},{"name":"userName","value":""+query.userName},{"name":"userState","value":""+query.userState}]}</#assign>
<#assign moduleJsonStr=text?eval />
<#list [moduleJsonStr] as $it>
<#if $it.fields??>
<form id="wgt_search">
    <#list $it.fields as field>
    <input type=hidden name="${field.name!}" value="${field.value!}">
    </#list>
</form>
</#if>
</#list>
    </div>
</div>
